package com.ruoyi.message.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约对象 order_info
 * 
 * @author zsc
 * @date 2023-04-06
 */
public class OrderInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    private String id;

    private String coachName;

    private String programName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 教练id */
    @Excel(name = "教练id")
    private Long coachId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long programId;

    /** 预约二维码 */
    @Excel(name = "预约二维码")
    private String qrcode;

    /** 预约人姓名 */
    @Excel(name = "预约人姓名")
    private String userName;

    /** 预约人电话 */
    @Excel(name = "预约人电话")
    private String phone;

    public void setCoachName(String coachName) {
        this.coachName = coachName;
    }

    public String getCoachName() {
        return coachName;
    }

    public void setProgramName(String programName) {
        this.programName = programName;
    }

    public String getProgramName() {
        return programName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setCoachId(Long coachId) {
        this.coachId = coachId;
    }

    public Long getCoachId() {
        return coachId;
    }

    public void setProgramId(Long programId) {
        this.programId = programId;
    }

    public Long getProgramId() {
        return programId;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("coachId", getCoachId())
            .append("coachName", getCoachName())
            .append("programId", getProgramId())
            .append("programName", getProgramName())
            .append("qrcode", getQrcode())
            .append("userName", getUserName())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .toString();
    }
}
